.hljs {
  position: relative;
}

.hljs:not([class$='hljs']) {
  padding-top: 2px;
}

.powercord-codeblock-lang {
  color: var(--text-normal);
  border-bottom: 1px solid var(--background-modifier-accent);
  padding: 0 5px;
  margin-bottom: 6px;
  font-size: .8em;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}

.powercord-codeblock-table {
  border-collapse: collapse;
}

.powercord-codeblock-table tr {
  height: 19px;
  width: 100%;
}

.powercord-codeblock-table td:first-child {
  border-right: 1px solid var(--background-modifier-accent);
  padding-left: 5px;
  padding-right: 8px;
  user-select: none;
}

.powercord-codeblock-table td:last-child {
  padding-left: 8px;
  word-break: break-all;
}

.powercord-codeblock-copy-btn {
  color: var(--text-normal);
  border-radius: 4px;

  line-height: 20px;
  padding: 0 10px;
  font-family: 'Raleway', sans-serif;
  font-size: .8em;
  text-transform: uppercase;
  font-weight: bold;

  margin: 3px;
  background: var(--background-floating);
  position: absolute;
  right: 0 !important;
  bottom: 0 !important;
  opacity: 0;
  transition: .3s;
}

.powercord-codeblock-copy-btn.copied {
  color: #fff;
  background-color: #43b581;
  opacity: 1;
}

.hljs:hover .powercord-codeblock-copy-btn {
  opacity: 1;
}
